package com.example.smartlearning.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.smartlearning.entity.LessonCollectionEntity;

/**
 * 用户收藏
 */
public interface CollectionService extends IService<LessonCollectionEntity> {

    String getCollection(int userId);

    String addCollection(int userId, int lessonId);

    String cancelCollection(int collectionId);
}
